import request from "@/utils/request";

export function getTeacher(status) {

}

export function getTeacherSubject(status, subject) {
  let permission = 0;
  switch (status) {
    case 0:
      permission = 2;
      break;
    case 3:
      permission = 4;
      break;
  }
  return request.get(
    `/teacher/permission:${permission}/subject:${subject}`
  );
}
